<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<!DOCTYPE HTML>
<html lang="en">
<head>
	<meta name = "viewport" content = "initial-scale = 1, user-scalable = no">
	<link type="text/css" rel="stylesheet" href="css/tabs.css" >
	<link type="text/css" rel="stylesheet" href="css/bootstrap.min.css"/>
	<link type="text/css" rel="stylesheet" href="css/onepage-scroll.css" />
	<script type="text/javascript" src="js/shared/jquery-2.2.1.min.js"></script>
	<script type="text/javascript" src="js/shared/angular.min.js"></script>
	<script type="text/javascript" src="js/shared/angular-route.min.js"></script>
	<script type="text/javascript" src="js/shared/bootstrap.min.js"></script>
	<script type="text/javascript" src="js/shared/Chart.min.js"></script>
	<script type="text/javascript" src="js/shared/jquery.onepage-scroll.min.js"></script>
	<script type="text/javascript" src="js/shared/ui-bootstrap-tpls-0.12.1.js"></script>
</head>

<body ng-app="myApp">
	<script>
		$(function(){
			$('.main').onepage_scroll({
				sectionContainer: '.page',
				updateURL: false
			});
		});
	</script>

	<div class="main">
		<div class="page page1">
			<p>
				<div ng-include="'template/page1.html'"></div>
			</p>
		</div>

		<div class="page page2">
			<p>
				<div ng-include="'template/page2.html'"></div>
			</p>
		</div>
		<div class="page page3">
			<p>
				<div ng-include="'template/page3.html'"></div>
			</p>
		</div>
	</div>
	<div style="position:fixed; top:0; left: 0;width: 360px; height: 30px;" ng-controller="DatepickerDemoCtrl">

		<form class="form-inline" role="form">
			<div class="form-group" style="position:relative;top: 10px;left: 10px;width:960px">
				<label class="form-label">日期:</label>
				<input id="date" type="text" class="form-control" datepicker-popup="{{format}}"
							ng-model="date" is-open="eopened" max-date="maxDate" ng-click="eopen($event)"
							ng-required="true" />
				<label class="form-label">项目:</label>
				<select class="img-rounded" ng-init="selectedName = names[0]" ng-model="selectedName" ng-options="x for x in names"></select>
				<button class="btn btn-primary" ng-click="loadData()" ng-disabled="null==date|| undifined==date ||nul==selectedName || undifined==selectedName">确定</button> 
			</div>
		</form>

	</div>

	<br>
	<br>
	<br>
	<br>

	<!-- Modules --> 
	<script type="text/javascript" src="js/app.js"></script>

	<!-- Controllers -->
	<script type="text/javascript" src="js/controllers/MainController.js" charset="uft-8"></script>

</body>

</html>